using MediatR;
using Medical.Api.Read.Dto.WmsDto.WmsStoresDro;
using Medical.ErrorCode;

namespace Medical.Api.Read.Application.Command.Wms.WmsStoresCommand
{
    /// <summary>
    /// 获取货架详情命令
    /// </summary>
    public class GetShelvesDetailByIdCommand : IRequest<ApiResult<ShelvesDetailDto>>
    {
        /// <summary>
        /// 货架ID
        /// </summary>
        public int Id { get; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="id">货架ID</param>
        public GetShelvesDetailByIdCommand(int id)
        {
            Id = id;
        }
    }
}